This patch fixes the vmx fault handler to set the fault vector
number in r19. The r19 is used to display a fault message in
dispatch_to_fault_handler().
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
#define VMX_FAULT(n) \
vmx_fault_##n:; \
+ mov r19=n;; \
br.sptk.many dispatch_to_fault_handler; \
;; \
;; \
tbit.z p6,p7=r29,IA64_PSR_VM_BIT; \
(p7)br.sptk.many vmx_dispatch_reflection; \
- VMX_FAULT(n); \
+ br.sptk.many dispatch_to_fault_handler; \
GLOBAL_ENTRY(vmx_panic)